package com.weirong.smartvault.dao;

import com.weirong.smartvault.entity.CashboxRealtime;
import com.weirong.smartvault.entity.ConfirmLog;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * 于2017/12/26由 KFEB4 创建 .
 */

@Repository
@Qualifier("confirmLogRepository")
public interface ConfirmLogRepository extends JpaRepository<ConfirmLog,Integer>,JpaSpecificationExecutor<ConfirmLog> {
    public List<ConfirmLog> findAllByConfirmTimeBetweenAndBranchId(Date start, Date end,Integer id);
    List<ConfirmLog> findAllByConfirmTimeBetween(Date start ,Date end);
}
